package oop.day04;

public  abstract  class Animal {
    String name;
    int age;
    String color;

    Animal(){

    }
    Animal(String name, int age, String color){
        this.name = name;
        this.age = age;
        this.color = color;
    }
    public void drink(){
        System.out.println(color+"颜色的"+age+"大的"+name+"动物在喝水");
    }
    public abstract void eat();

}
